add two datetime python

39

how to add 2 dates in python -

date_1 = datetime.datetime.strptime(start_date, "%m/%d/%y")

end_date = date_1 + datetime.timedelta(days=10)

Comments

Submit
0 Comments